package com.shop.service;

import com.shop.entity.Comment;
import com.shop.entity.CommentDetailVO;
import com.shop.exception.AddCommentErrorException;
import com.shop.exception.DeleteCommentErrorException;
import com.shop.exception.getCommentErrorException;

import java.util.List;

public interface CommentService {
    List<CommentDetailVO> getGDCommentsById(int gd_id,int pageNum,int pageSize) throws getCommentErrorException;

    int deleteCommentsById(int c_id) throws DeleteCommentErrorException;

    int addComments(Comment comment) throws AddCommentErrorException;
}
